import { Module } from '@nestjs/common'
import { PrismaModule } from './prisma/prisma.module'
import { AutoModule } from './auto/auto.module'
import { ConfigModule } from '@nestjs/config'
import { ProjModule } from './proj/proj.module'
import { SectionModule } from './section/section.module'
import { TowerModule } from './tower/tower.module'
import { BetModule } from './bet/bet.module'
import { AcrossModule } from './across/across.module'
import { WireModule } from './wire/wire.module'
import { OtherModule } from './other/other.module'
import { OrderModule } from './order/order.module'
import { CalculateTowerModule } from './calculate-tower/calculate-tower.module';
import { CalculateAcrossModule } from './calculate-across/calculate-across.module';
import { CalculateBetModule } from './calculate-bet/calculate-bet.module';

@Module({
  imports: [
    PrismaModule,
    AutoModule,
    ConfigModule.forRoot({
      //全局模块
      isGlobal: true,
    }),
    ProjModule,
    AcrossModule,
    SectionModule,
    WireModule,
    TowerModule,
    BetModule,
    OtherModule,
    OrderModule,
    CalculateTowerModule,
    CalculateAcrossModule,
    CalculateBetModule,
  ],
  controllers: [],
  providers: [],
})
export class AppModule {}
